package org.example.service;

import org.apache.ibatis.annotations.Param;
import org.example.entity.CourseCollect;
import org.example.entity.Result;

import java.util.List;

/**
 * @ClassName CourseCollectService
 * @Description TODO
 * @Author qiuye
 * @Date 2025年08月15日 17:17
 * @Version 1.0
 */
public interface CourseCollectService {
    List<CourseCollect> getByCourse(int id);
    Result sc(int userId, int courseId);
    Result deleteByUserAndCourse(int userId,int courseId);
    boolean isCollected(int userId, int courseId);
}
